package 智能家电;

import java.util.*;
public class SmartTV extends TV{
    private int memorySize;
    public SmartTV(String brand,Date productDate,int memorySize){
        // this.brand = brand;
        // this.productDate = productDate;
        super(brand, productDate);
        this.memorySize = memorySize;
    }

    public String toString(){
        String g =  "SmartTV[" +
               "brand=" + getBrand() +
               ", productDate=" + getProductDateString() +
               ", channel=" + getChannel() +
               ", volumeLevel=" + getVolumeLevel() +
               ", memorySize=" + memorySize +
               ']';
        return g;
    }
    
}